<template>
  <section id="Goollist">
    <good-item
      v-for="(item, index) in goods"
      :key="index"
      :goodsItem="item"
    ></good-item>
  </section>
</template>
<script>
import GoodItem from "./GoodItem.vue";
export default {
  components: {
    GoodItem
  },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      }
    }
  },
  name: "",
  data() {
    return {};
  },
  methods: {}
};
</script>
<style scoped>
#Goollist {
  display: flex;
  flex-wrap: wrap;
  padding: 0 5px;
}
</style>
